home *** CD-ROM | disk | FTP | other *** search
/ Technotools / Technotools (Chestnut CD-ROM)(1993).ISO / lang_c / mc51bugs / q32284 < prev    next >
Text File  |  1988-07-20  |  887b  |  37 lines

  1. Q32284 Internal Compiler Error: Grammar.c 1.29, line 108
  2. C Compiler
  3. 5.10
  4. MS-DOS
  5.  
  6. Summary:
  7.    The program source code below produces the following error when
  8. compiled with the default options:
  9.  
  10.    fatal error C1001: Internal Compiler Error
  11.    (compiler file '@(#)grammar.c:1.29', line 108)
  12.    Contact Microsoft Technical Support
  13.  
  14.    The following is the program source code that produces the error:
  15.  
  16. #include <stdio.h>
  17.  
  18. int fctn(int val)
  19. {
  20.         return (val);
  21. }
  22.  
  23. (*fns[])() = {fctn};
  24.  
  25. void main()
  26. {
  27.         printf("%i\n", (*fns[0])(1.0));
  28. }
  29.  
  30.    Microsoft has confirmed this to be a problem in Version 5.10.
  31.    You can work around this problem by calling the function with an
  32. integer constant 1 instead of 1.0. We are researching this problem and
  33. will post new information as it becomes available.
  34.  
  35. Keywords:  buglist5.10 qfbv
  36. Updated  88/07/21 03:19
  37.